package com.crocodileQ.service;

import com.crocodileQ.common.R;
import com.crocodileQ.domain.VO.BlogUserLoginVO;
import com.crocodileQ.domain.entity.User;

public interface BlogLoginService {

    /**
     * 用户登录
     * @param user
     * @return
     */
    R<BlogUserLoginVO> login(User user);

    /**
     * 用户退出登录
     * @return
     */
    R logout();
}
